<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>others</title>
</head>
<body>
        <script type="text/javascript" >
        	let arr=[1,2,3];
            let [a,b,c,...others] =arr;
        	console.log(a,b,c,others)
            const person = {
                name:"jack",
                age:21,
                language: ['java','js','css']
            }
            const {name,...others2} = person;
        	console.log(name);
        	console.log(others2);
        </script>
</body>
</html>